/* ----------------------------------------------------------------------
*
* Copyright (C) 2024 XiaoFei. All rights reserved.
*
* $file:		XiaoZhi_Beep.h
* $Date:        28-April-2024
* $Revision: 	V1
* $Project: 	XiaoFei BSP Library
* $Taobao:      https://item.taobao.com/item.htm?abbucket=17&id=789858948718
*
* -------------------------------------------------------------------- */

#ifndef __XiaoZhi_Beep_H
#define __XiaoZhi_Beep_H

#define RCC_GPIO_Beep                   RCC_APB2Periph_GPIOA
#define Sig_GPIO		                GPIOA
#define Sig_Pin			                GPIO_Pin_0
#define Beep_EN			                Bit_SET
#define Beep_NO			                Bit_RESET

/* 
* @function: 	GPIO_Beep_Init
*/
void GPIO_Beep_Init(void);

/* 
* @function: 	Beep_ON
*/
void Beep_ON(void);

/* 
* @function: 	Beep_OFF
*/
void Beep_OFF(void);

/* 
* @function: 	Beep_GLIMMER
* @parameter:	[in] ms					    The number of microseconds you want to delay.
*/
void Beep_GLIMMER(int ms);

/* 
* @function: 	Beep_TURN
*/
void Beep_TURN(void);
			
#endif

